
const windowManager: any = {};

const saveWindow = (id: string | number, window: any) => {
    windowManager[id] = window;
}

const getWindow = (id: string | number) => {
    return windowManager[id];
}

const delWindow = (id: string | number) => {
    delete windowManager[id];
}


export {
    saveWindow,
    getWindow,
    delWindow,
};
